package com.duanjw.springboot.logging;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;

/**
 * 日志应用
 *
 * @author duanjw
 * @since 2020-09-12
 */
@EnableAutoConfiguration
public class LoggingApplication {
    static Log log = LogFactory.getLog(LoggingApplication.class);

    public static void main(String[] args) {

        SpringApplication.run(LoggingApplication.class, args);
        for (int i = 0; i < 1024; i++) {
            log.error("INFO------------------------------------------------------------");
        }
    }
}
